package cn.kai.ums.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.kai.ums.model.UmsStudent;
import cn.kai.ums.service.UmsStudentService;
import cn.kai.ums.mapper.UmsStudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class UmsStudentServiceImpl extends ServiceImpl<UmsStudentMapper, UmsStudent>
    implements UmsStudentService{

    @Autowired
    private UmsStudentMapper umsStudentMapper;

    @Override
    public UmsStudent getOneByno(String studentNo) {
        return umsStudentMapper.getOneByno(studentNo);
    }

    @Override
    public List<UmsStudent> teaCourseStudent(String teaid) {

        return umsStudentMapper.teaCourseStudent(teaid);
    }

    @Override
    public List<String> getStuNosBycid(String clid) {

        return umsStudentMapper.getStuNosBycid(clid);
    }
}




